home *** CD-ROM | disk | FTP | other *** search
- Path: soap.news.pipex.net!pipex!usenet
- From: J P Crocker <whl.adv.eng@dial.pipex.com>
- Newsgroups: comp.lang.c++
- Subject: DLL's with classes in them
- Date: Thu, 22 Feb 1996 16:35:33 +0000
- Organization: UnipalmPIPEX server (post doesn't reflect views of UnipalmPIPEX)
- Message-ID: <312C9B55.71F3@dial.pipex.com>
- NNTP-Posting-Host: am173.du.pipex.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win16; I)
-
- Here's one...
-
- I'm using Borland Turbo C++ 3.1, and am trying to create a DLL with a class
- definition which I can import into my App. I've decared the class in the DLL
- using the EXPORT macro:
-
- class EXPORT class_name
- {
- ...
- }
-
- and I've included the .lib file for the DLL in my project file. I now need to
- put some reference to class_name in my main application code so I can derive
- descendant classes from class_name. How do I do this? Also, in the previous
- version I defined class_name in a header file, and included a prototype of
- the class at the top of the code ..
-
- class class_name;
-
- so that I could create pointers to class_name before it was defined. What is
- the appropriate syntax for doing this when class_name is contained in a DLL?
-
- Thanks
-
- Jason Crocker
- email: whl.adv.eng@dial.pipex.com
-